﻿using Common.Data.Extensions;
using Customer.Core.Configuration;
using Customer.Model.Model;

namespace Customer.Core.Data.DBConfig
{
    public class CustomerLimitInfoConfiguration : DBConfig<CustomerLimitInfo>
    {
        public CustomerLimitInfoConfiguration()
            : base(SystemConfiguration.Schema, SystemConfiguration.NamingType, SystemConfiguration.TABLE_PREFIX)
        {
            HasKey(k => new { k.Cif, k.TypeLimit });

            //relationship
        }
    }
}
